//
//  CommunityLinkModel.h
//  WeCommunity
//
//  Created by mac on 2017/8/9.
//  Copyright © 2017年 lzy. All rights reserved.
//

#import <Foundation/Foundation.h>

@interface CommunityLinkModel : NSObject

@property (nonatomic,assign) int  dataType;                 //类型

@property (nonatomic,strong) ContactModel * contact;        //用户

@property (nonatomic,strong) NSString * objectId;          //动态id

@property (nonatomic,strong) NSString * content;

@property (nonatomic,strong) NSString * imageUrl;

@property (nonatomic,strong) NSString * linkUrl;

@property (nonatomic,strong) NSDate * createDate;

@property (nonatomic,strong) NSString * createTime;         //发布时间

@property (nonatomic,strong) NSString * formatTime;         //格式化后的发布时间

@property (nonatomic,strong) NSMutableArray * likeList;     //点赞集合

@property (nonatomic,assign) BOOL  isLike;                  //是否已点赞

@property (nonatomic,assign) long  likeTotalNum;            //点赞数

@property (nonatomic,strong) NSString * formatLikeTotalNum; //格式化后的点赞数

+(CommunityLinkModel *)setValueFormObject:(id)object;


@end
